import request from '@/utils/request'

// 文章公告列表
export function articleLists(params?: Record<string, any>) {
    return request.get({ url: '/legalArticle/list', params })
}

// 文章公告详情
export function articleDetail(params: Record<string, any>) {
    return request.get({ url: '/legalArticle/detail', params })
}

// 文章公告新增
export function articleAdd(params: Record<string, any>) {
    return request.post({ url: '/legalArticle/add', params })
}

// 文章公告编辑
export function articleEdit(params: Record<string, any>) {
    return request.post({ url: '/legalArticle/edit', params })
}

// 文章公告删除
export function articleDelete(params: Record<string, any>) {
    return request.post({ url: '/legalArticle/del', params })
}
